namespace TradeFlow.Server.Dto;

public class JxBillHeadParam : PageParam
{
    /// <summary>
    /// 单据类型
    /// </summary>
    public string Type { get; set; }

    /// <summary>
    /// 业务单号
    /// </summary>
    public string BillNo { get; set; }

    /// <summary>
    /// 单证状态
    /// </summary>
    public string Status { get; set; }

    /// <summary>
    /// 商业伙伴
    /// </summary>
    public string Partner { get; set; }

    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTime? StartDate { get; set; }

    /// <summary>
    /// 结束日期
    /// </summary>
    public DateTime? EndDate { get; set; }
}

public class JxBillHeadPageParam : JxBillHeadParam
{
    private int _currentPage;
    /// <summary>
    /// 当前页码
    /// </summary>
    public int CurrentPage
    {
        get { return _currentPage; }
        set
        {   
            _currentPage = value;
            base.PageNo = value;
        }
    }
}